/**
 * 基础路由
 * @type { *[] }
 */

const constantRouterMap = [
  {
    path: '/',
    name: 'Email',
    redirect: { name: 'EmailService' },
    children: [
      {
        path: '/emailService',
        name: 'EmailService',
        component: () => import('@/views/emailService/index.vue'),
        meta:{
          title: '邮件服务',
          showMenu: true,
        }
      },
      {
        path: '/excelService',
        name: 'ExcelService',
        component: () => import('@/views/excelService/index.vue'),
        meta:{
          title: '图表服务',
          showMenu: true,
          hideTopMenu: true, // 是否隐藏顶部控制
        }
      },{
        path: '/apiService',
        name: 'ApiService',
        component: () => import('@/views/apiService/index.vue'),
        meta: {
          title: 'API服务',
          showMenu: true,
        }
      },{
        path: '/systemService',
        name: 'SystemService',
        component: () => import('@/views/systemService/index.vue'),
        meta: {
          title: '系统服务',
          showMenu: true,
        }
      }
    ]
  },
]

export default constantRouterMap